<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form" action="{:url('admin/plugin.plugin/settingPost')}" method="post" id="cp-form" enctype="multipart/form-data">
            <div class="layui-tab ">
                <ul class="layui-tab-title">
                    <li class="">
                        <a href="{:url('admin/plugin.plugin/index')}">插件列表</a>
                    </li>
                    <li class="layui-this">
                        <a href="">基础设置</a>
                    </li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        {empty name="custom_config"}
                            {:_parse_plugin_config($data['config'])}
                            {else /}
                            {present name="custom_config"}
                                {$custom_config}
                            {/present}
                        {/empty}
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="hidden" name="id" value="{:request()->param('id')}">
                    <button class="layui-btn" lay-submit lay-filter="formDemo">保存</button>
                    <a href="javascript:history.go(-1);" class="layui-btn layui-btn-primary">返回</a>
                </div>
            </div>
        </form>
    </div>
</div>
